home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKit
/
Palettes
/
MiscProgressPalette
/
MiscProgressView.subproj
/
MiscProgressBar.h
< prev
next >
Wrap
Text File
|
1995-04-12
|
1KB
|
43 lines
//
// MiscProgressBar.h -- a simple view class for displaying progress bar
// Written and Copyright (c) 1993 by James Heiser. (jheiser@adobe.com)
// Version 1.0. All rights reserved.
//
// This notice may not be removed from this source code.
//
// This object is included in the MiscKit by permission from the author
// and its use is governed by the MiscKit license, found in the file
// "LICENSE.rtf" in the MiscKit distribution. Please refer to that file
// for a list of all applicable permissions and restrictions.
//
#import "MiscProgressView.h"
@interface MiscProgressBar:MiscProgressView
{
NXColor tc; // tick color
BOOL isTicsVisible;
BOOL isTicsOverBar;
int numTicks;
int emphasis;
}
- initFrame:(const NXRect *)frameRect;
- (NXColor)tickColor;
- setTickColor:(NXColor)color;
- renderTicks;
- renderBar;
- setTicsVisible:(BOOL)aBool;
- (BOOL)isTicsVisible;
- setTicsOverBar:(BOOL)aBool;
- (BOOL)isTicsOverBar;
- setNumTicks:(int)anInt;
- (int)numTicks;
- setEmphasis:(int)anInt;
- (int)emphasis;
- read:(NXTypedStream*)stream;
- write:(NXTypedStream*)stream;
- (const char *)getInspectorClassName;
@end